package com.smartian.v2;


import com.google.gson.annotations.SerializedName;
import com.smartian.v2.model.ScheduleTaskBean;

import java.io.Serializable;

public class AsrParserResult implements Serializable{
    @SerializedName("habit_id")
    private int habitId;
    private String subjectName;
    private String remark;
    @SerializedName("repeat_time")
    private String repeatTime;
    @SerializedName("repeat_type")
    private int repeatType;
    private CharSequence subjectHtmlText;
    private String source;
    private ScheduleTaskBean scheduleTask;

    public AsrParserResult() {
    }

    public AsrParserResult(int habitId, String name, String remark, String repeatTime, int repeatType) {
        this.habitId = habitId;
        this.subjectName = name;
        this.remark = remark;
        this.repeatTime = repeatTime;
        this.repeatType = repeatType;

    }
    public void setHabitId(int habitId) {
        this.habitId = habitId;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public void setRepeatTime(String repeatTime) {
        this.repeatTime = repeatTime;
    }

    public void setRepeatType(int repeatType) {
        this.repeatType = repeatType;
    }

    public int getHabitId() {
        return habitId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public String getRemark() {
        return remark;
    }


    public String getRepeatTime() {
        return repeatTime;
    }

    public int getRepeatType() {
        return repeatType;
    }


    @Override
    public String toString() {
        return "HabitBean{" +
                "habitId=" + habitId +
                ", name='" + subjectName + '\'' +
                ", remark='" + remark + '\'' +
                ", repeatTime='" + repeatTime + '\'' +
                ", repeatType=" + repeatType +
                ", source=" + source +
                '}';
    }

    public CharSequence getSubjectHtmlText() {
        return subjectHtmlText;
    }

    public void setSubjectHtmlText(CharSequence subjectHtmlText) {
        this.subjectHtmlText = subjectHtmlText;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSource() {
        return source;
    }

    public void setResultInfo(ScheduleTaskBean scheduleTask) {
        this.scheduleTask = scheduleTask;
    }

    public ScheduleTaskBean getScheduleTask() {
        return scheduleTask;
    }
}
